import { request } from "umi";

/**课程列表  GET  /api/course */
export async function courseList(params?: any, options?: { [key: string]: any }) {
    return request<{
        data: API.CurrentUser;
    }>('/api/course', {
        method: 'GET',
        params,
        ...(options || {}),
    });
}


